package com.medical.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medical.app.common.dto.ClinicRechargeDto;
import com.medical.app.entity.Recharge;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RechargeMapper extends BaseMapper<Recharge> {
     List<ClinicRechargeDto> selectListByPatientId(Long patientId);

    List<ClinicRechargeDto> selectListByDate(@Param("patientId") Long patientId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
}